div#main {
	width: 100%;
	min-width: 1300px;
	min-height: 1000px;
	margin: 0 auto;
}
/* 头部 */
div#header-content {
	position: fixed;
	left: 0; top: 0;
	width: 100%;
	min-width: 1200px;
	background-color: #FF5F1C;
	height: 50px;
	z-index: 50;
	display: flex;
	justify-content: space-around;
	align-items: center;
}
div#header-content img {
	width: 35px;
	height: 35px;
}
div#header-content form {
	display: inline-block;
	width: 30%;
	height: 60%;
	font-size: 0;
	position: relative;
}
div#header-content form span {
	position: absolute;
	top: 55%; left: 68%;
	transform: translateY(-50%);
	width: 20px; height: 20px;
	color: white;
	font-weight: bold;
	font-size: 12px;
	text-align: center;
	line-height: 20px;
	background-color: orange;
	border-radius: 50%;
	cursor: pointer;
}
div#header-content form input {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	border: 2px solid #C40000;	
}
div#header-content form input[type=text] {
	width: 75%;
	height: 100%;
	outline: none;
	text-indent: 1em;
}
div#header-content form input[type=submit] {
	color: white;
	width: 20%;
	height: 100%;
	text-align: center;
	background-color: #C40000;
	font-weight: bolder;
	line-height: 27px;
	font-family: "myfont";
	font-size: 18px;
	box-sizing: content-box;
}
/* 下拉列表 */
div#header-content form ul {
	width: 75%; height: 500%;
	box-sizing: border-box;
	position: relative;
	margin-left: 2px;
	display: none;
}
div#header-content form ul.opend {
	display: inline-block;
}
div#header-content form ul li {
	width: 100%; height: 20%;
	background-color: white;
	box-sizing: border-box;
	text-align: center;
}
div#header-content form ul li:nth-child(1) {
	border-top: none;
}
div#header-content form ul li a {
	display: inline-block;
	width: 100%; height: 100%;
	padding: 0 15px;
	box-sizing: border-box;
	line-height: 28px;
	font-size: 15px;
	font-weight: normal;
	color: black;
	text-align: left; 
	text-indent: 1em;
	text-decoration: none;
	background-color: white;
}
div#header-content form ul li a:hover {
	background-color: rgba(223, 161, 56, 0.8);
}
/* 热搜 */
div#header-content ul#hot-search {
	vertical-align: top;
	width: 50px; height: 100%;
	list-style: none;
	display: inline-block;
	position: relative;
}
div#header-content ul#hot-search li {
	width: 100%; height: 100%;
	position: absolute;
}
/*登录*/
div#header-content ul#attachment {
	list-style: none;
	height: 100%;
	font-size: 0;
}
div#header-content ul#attachment li {
	vertical-align: top;
	width: 80px;
	height: 100%;
	display: inline-block;
}
div#header-content ul#attachment li a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-align: center;
	line-height: 50px;
	font-family: "myfont";
	font-size: 15px;
	font-weight: bolder;
	color: white;
	text-decoration: none;
}
div#header-content ul#attachment li a:hover {
	background-color: #E15F1C;
}

div#header-content ul#attachment li a.qrcode~img {
	width: 100%;
	height: 0;
	background-color: #E15F1C;
	transition: height 0.3s linear;
}
div#header-content ul#attachment li a.qrcode:hover~img {
	height: 80px;
}
/*adv部分*/
div#adv-navbar {
	position: absolute;
	top: 60px; left: 0;
	width: 100%; height: 460px;
	min-width: 1200px;
	background-image: url("img/adv/advBigBg.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
}
div#adv-navbar img {
	width: 80%;
	height: 100%;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	margin: auto;
	opacity: 0;
	animation-duration: 1s;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}
div#adv-navbar img:nth-child(1) {
	opacity: 1;
}
div#adv-navbar ul#navbar-menu {
	list-style: none;
	position: absolute;
	left: 10%;
	top: 0;
	width: 15%;
	height: 100%;
	background-color: gray;
}
div#adv-navbar ul#navbar-menu>li {
	width: 100%;
	height: 14%;
}
div#adv-navbar ul#navbar-menu>li:nth-child(1) {
	margin-top: 4px;
}
div#adv-navbar ul#navbar-menu li div.menu-link {
	width: 100%;
	height: 100%;
	background-color: rgba(204, 51, 51, 0.5); 
	position: relative;
	cursor: pointer;
	opacity: 0.8;
}
div#adv-navbar ul#navbar-menu li div.menu-link:hover {
	background-color: gray;
}
div#adv-navbar ul#navbar-menu li div.menu-link a {
	text-decoration: none;
	position: absolute;
	left: 0; top: 0; right: 0; bottom: 0;
	margin:auto;
	width: 80%;
	height: 100%;
	color: white;
	text-align: center;
	line-height: 65px;
	font-size: 20px;
	border-top: 1px solid white;
}
div#adv-navbar ul#navbar-menu li div.menu-link a::after {
	content: ">";
	position: absolute;
	left: 85%; top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	font-weight: bold;
}
div#adv-navbar ul#navbar-menu li:nth-child(1) div.menu-link a {
	border-top: none;
}
div#adv-navbar ul#navbar-menu li div.menu-bg {
	opacity: 100;
	width: 732px;
	height: 460px;
	background-repeat: no-repeat;
	position: absolute;
	left: 100%; top: 0px;
	display: none;
	z-index: 5;
}
div#adv-navbar ul#navbar-menu li:nth-child(1) div.menu-bg {background-image: url("img/adv/bg/advbg1.png");}
div#adv-navbar ul#navbar-menu li:nth-child(2) div.menu-bg {background-image: url("img/adv/bg/advbg2.png");}
div#adv-navbar ul#navbar-menu li:nth-child(3) div.menu-bg {background-image: url("img/adv/bg/advbg3.png");}
div#adv-navbar ul#navbar-menu li:nth-child(4) div.menu-bg {background-image: url("img/adv/bg/advbg4.png");}
div#adv-navbar ul#navbar-menu li:nth-child(5) div.menu-bg {background-image: url("img/adv/bg/advbg5.png");}
div#adv-navbar ul#navbar-menu li:nth-child(6) div.menu-bg {background-image: url("img/adv/bg/advbg6.png");}
div#adv-navbar ul#navbar-menu li:nth-child(7) div.menu-bg {background-image: url("img/adv/bg/advbg7.png");}

div#adv-navbar ul#navbar-menu li div.menu-link:hover~div.menu-bg,
 div#adv-navbar ul#navbar-menu li div.menu-bg:hover {
	display: block;
}
div#adv-navbar ul#navbar-menu li div.menu-bg ul.total-type-list {
	list-style: none;
	font-size: 18px;
	margin: 15px 0 0 15px;
}
div#adv-navbar ul#navbar-menu li div.menu-bg ul.total-type-list li span,
 div#adv-navbar ul#navbar-menu li div.menu-bg ul.total-type-list li ul {
	display: inline-block;
	height: 50px;
	vertical-align: top;
}
div#adv-navbar ul#navbar-menu li div.menu-bg ul.total-type-list li span {
	width: 15%;
	font-weight: bold;
	cursor: pointer;
	text-align: center;
}
div#adv-navbar ul#navbar-menu li div.menu-bg ul.total-type-list li ul.small-type-list {
	width: 80%;
	list-style: none;
}
div#adv-navbar ul#navbar-menu li div.menu-bg ul.total-type-list li ul.small-type-list li {
	display: inline-block;
	cursor: pointer;
}
div#adv-navbar ul#navbar-menu li div.menu-bg ul.total-type-list li ul.small-type-list li:hover {
	color: #CC3333;
}
div#adv-navbar>span {
	width: 50px;
	height: 80px;
	opacity: 0.8;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 50px;
	font-weight: bolder;
	color: white;
	text-align: center;
	line-height: 80px;
	cursor: pointer;
}
div#adv-navbar>span:hover {
	background-color: black;
}
span#left-toggle {
	left: 25%;
}
span#right-toggle {
	right: 10%;
}
div#adv-navbar ul#toggle-btn {
	padding: 0;
	list-style: none;
	width: 140px;
	height: 15px;
	position: absolute;
	bottom: 10px;
	right: 25%;
}
div#adv-navbar ul#toggle-btn li {
	display: inline-block;
	width: 15px;
	height: 100%;
	border-radius: 50%;
	border: 2px solid gray;
	background-color: gray;
	box-sizing: border-box;
	margin-right: 5px;
	cursor: pointer;
}
div#adv-navbar ul#toggle-btn li.selected {
	background-color: white;
}
div#adv-navbar img.showAdvImg {
	animation-name: showAdvImg;
}
div#adv-navbar img.dispearAdvImg {
	animation-name: dispearAdvImg;
}
@keyframes showAdvImg {
	from {opacity: 0;}
	to {opacity: 1;}
}
@keyframes dispearAdvImg {
	from {opacity: 1;}
	to {opacity: 0;}
}

div#hot-product-list, div#normal-product-list {
	min-width: 1200px;
	width: 100%; height: 650px;
	background-image: url("img/adv/advBigBg.jpg");
	background-position: center center;
	background-repeat: no-repeat;
}
div#hot-product-list {
	margin-top: 555px;
}
div#hot-product-list h2, div#normal-product-list h2 {
	padding-left: 50px;
	font-size: 18px;
}
div#hot-product-list ul, div#normal-product-list ul {
	min-width: 960px;
	position: absolute;
	width: 80%; left: 10%;
	list-style: none;
	padding: 10px;
	font-size: 0;
}
div#hot-product-list ul li, div#normal-product-list ul li {
	display: inline-block;
	width: 23%;
	height: 250px;
	margin: 8px;
	background-color: white;
	transition: all 0.5s linear;
}
div#hot-product-list ul li {
	box-shadow: 0px 5px 2px 2px rgba(148, 148, 148, 0.3);
}
div#hot-product-list ul li:hover {
	box-shadow: 0px 5px 5px 8px rgba(148, 148, 148, 0.7);
}
div#normal-product-list ul li {
	border: 1px solid transparent;
	border-radius: 3%;
}
div#normal-product-list ul li:hover {
	border: 1px solid orange;
}
div#hot-product-list ul li a span, div#normal-product-list ul li a span {
	position: absolute;
	left: 0;
	width: 100%;
	font-size: 18px;
	color: black;
	text-align: center;
	line-height: 25px;
	background-color: white;
}
div#hot-product-list ul li a span {
	top: 80%; height: 20%;
	overflow: hidden;
	transition: all 0.3s linear;
}
div#hot-product-list ul li a span:hover {
	top: 60%;
	height: 40%;
}
div#hot-product-list ul li a span em, div#normal-product-list ul li a em {
	width: 100%;
	display: inline-block;
	font-size: 10px;
	font-style: normal;
	font-weight: bold;
	vertical-align: top;
	color: gray;
}
div#hot-product-list ul li a span em b:nth-child(1), div#normal-product-list ul li a em b:nth-child(1) {
	margin-right: 8px;
}
div#hot-product-list ul li a span em:nth-last-child(2), div#normal-product-list ul li a em:nth-last-child(2) {
	color: #FF7200;
}
div#hot-product-list ul li a span em:nth-last-child(2) b:nth-child(1), div#normal-product-list ul li a em:nth-last-child(2) b:nth-child(1) {
	font-size: 18px;
}
div#hot-product-list ul li a span em:nth-last-child(1) b:nth-child(1), div#normal-product-list ul li a em:nth-last-child(1) b:nth-child(1) {
	background-color: #C40000;
	color: white;
}
div#normal-product-list ul li a span {
	color: white;
	margin-left: 3px;
	width: 98%;
	top: 89%; height: 10%;
	background-color: gray;
}
div#hot-product-list ul li a, div#normal-product-list ul li a {
	display: inline-block;
	width: 100%;
	height: 100%;
	position: relative;
}
div#hot-product-list ul li a img, div#normal-product-list ul li img {
	width: 80%;
	height: 80%;
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
}
div#normal-product-list .normal-product-fg, div#normal-product-list .normal-product-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	font-size: 10px;
	backface-visibility: hidden;
	transition: transform 0.8s;
}
div#normal-product-list .normal-product-bg {
	display: flex;
	flex-direction: column;
	align-content: center;
	flex-wrap: wrap;
	justify-content: center;
	transform: rotateY(180deg);
}
div#normal-product-list .normal-product-bg img {
	position: static;
	transform: none;
	width: 60%;
	height: 60%;
}
div#normal-product-list .normal-product-bg h1 {
	text-align: center;
}
div#normal-product-list .normal-product-bg em {
	width: auto;
	margin-top: 5px;
}
div#normal-product-list ul li a:hover .normal-product-bg {
	transform: rotateY(0deg);
}
div#normal-product-list ul li a:hover .normal-product-fg {
	transform: rotateY(-180deg);
}
div#footer {
	font-size: 16px;
	color: gray;
	height: 80px;
	line-height: 30px;
	text-align: center;
	background-color: #ccc;
}
div#footer ul {
	list-style: none;
	display: inline-block;
}
div#footer ul li {
	display: inline-block;
	border-radius: 50%;
	width: 35px; height: 35px;
	background-color: white;
}
div#footer ul li a {
	display: inline-block;
	font-family: "myfont";
	width: 100%; height: 100%;
	font-size: 25px;
	color: gray;
	text-align: center;
	text-decoration: none;
}
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 99;
	display: none;
}
.login-box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 25%;
	padding: 30px;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	z-index: 100;
}
.login-box h2 {
	text-align: center;
	margin-bottom: 30px;
}
.login-box label {
	width: 25%;
	display: inline-block;
	text-align: center;
}
.login-box input[type="text"], .login-box input[type="password"] {
	display: inline-block;
	margin-bottom: 20px;
	padding: 10px;
	width: 65%;
	border: 1px solid #5566dddd;
	border-radius: 3px;
	outline: none;
}
.login-box button {
	width: 70%;
	margin-left: 22%;
	cursor: pointer;
	padding: 10px 20px;
	background-color: #ff491c;
	color: #fff;
	border: none;
	border-radius: 3px;
	font-weight: bold;
	transition: all 0.3s ease;
}
.login-box button:hover {
	background-color: #ff491cff;
}
.close-btn {
	position: absolute;
	right: 15px;
	top: 15px;
	cursor: pointer;
	font-size: 1.5em;
	line-height: 1;
	color: #ff491c;
}